import { Module } from 'vuex';
import { IRootState } from '../../types';
import { ISystemState } from './system-types';

const systemModule: Module<ISystemState, IRootState> = {
  namespaced: true,
  state() {
    return {
      usersList: [],
      usersCount: 0,
      roleList: [],
      roleCount: 0
    };
  }
};

export default systemModule;
